<template>
	<view>
		<uni-calendar :insert="true" :lunar="true" :start-date="2019-3-2" :end-date="2019-5-20" @change="change">
		</uni-calendar>
	</view>
</template>

<script>
	import test from '../../components/uni-calendar/test.vue'
	import testA from '../../components/uni-calendar/a.vue'
	import testB from '../../components/uni-calendar/b.vue'
	import uniCalendar from '@/pages/components/uni-calendar/uni-calendar.vue'
	export default {
		data() {
			return {
				title: 'Hello',
				name: 'lilingi',
				num: 0,
				flag: true
			}
		},
		components: {
			test,
			"test-a": testA,
			"test-b": testB,
			uniCalendar
		},
		methods: {
			getNum(num) {
				console.log(num)
				this.num = num
			}
		}
	}
</script>

<style>
	.smart-item {
		background-color: #F1F1F1;
		/*背景色*/
		font-size: 40upx;
		/*字体大小*/
		margin: 20upx;
		/*外间距*/
		height: 80upx;
		/*行高*/
		line-height: 80upx;
		padding-left: 30upx;
	}
</style>